package com.eshop.modules.system.service.dto;

import java.sql.Timestamp;
import java.io.Serializable;

public class UserAvatarDto implements Serializable
{
    private Long id;
    private String realName;
    private String path;
    private String size;
    private Timestamp createTime;
    
    public Long getId() {
        return this.id;
    }
    
    public String getRealName() {
        return this.realName;
    }
    
    public String getPath() {
        return this.path;
    }
    
    public String getSize() {
        return this.size;
    }
    
    public Timestamp getCreateTime() {
        return this.createTime;
    }
    
    public void setId(final Long id) {
        this.id = id;
    }
    
    public void setRealName(final String realName) {
        this.realName = realName;
    }
    
    public void setPath(final String path) {
        this.path = path;
    }
    
    public void setSize(final String size) {
        this.size = size;
    }
    
    public void setCreateTime(final Timestamp createTime) {
        this.createTime = createTime;
    }
    
    @Override
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof UserAvatarDto)) {
            return false;
        }
        final UserAvatarDto other = (UserAvatarDto)o;
        if (!other.canEqual(this)) {
            return false;
        }
        final Object this$id = this.getId();
        final Object other$id = other.getId();
        Label_0065: {
            if (this$id == null) {
                if (other$id == null) {
                    break Label_0065;
                }
            }
            else if (this$id.equals(other$id)) {
                break Label_0065;
            }
            return false;
        }
        final Object this$realName = this.getRealName();
        final Object other$realName = other.getRealName();
        Label_0102: {
            if (this$realName == null) {
                if (other$realName == null) {
                    break Label_0102;
                }
            }
            else if (this$realName.equals(other$realName)) {
                break Label_0102;
            }
            return false;
        }
        final Object this$path = this.getPath();
        final Object other$path = other.getPath();
        Label_0139: {
            if (this$path == null) {
                if (other$path == null) {
                    break Label_0139;
                }
            }
            else if (this$path.equals(other$path)) {
                break Label_0139;
            }
            return false;
        }
        final Object this$size = this.getSize();
        final Object other$size = other.getSize();
        Label_0176: {
            if (this$size == null) {
                if (other$size == null) {
                    break Label_0176;
                }
            }
            else if (this$size.equals(other$size)) {
                break Label_0176;
            }
            return false;
        }
        final Object this$createTime = this.getCreateTime();
        final Object other$createTime = other.getCreateTime();
        if (this$createTime == null) {
            if (other$createTime == null) {
                return true;
            }
        }
        else if (this$createTime.equals(other$createTime)) {
            return true;
        }
        return false;
    }
    
    protected boolean canEqual(final Object other) {
        return other instanceof UserAvatarDto;
    }
    
    @Override
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $id = this.getId();
        result = result * 59 + (($id == null) ? 43 : $id.hashCode());
        final Object $realName = this.getRealName();
        result = result * 59 + (($realName == null) ? 43 : $realName.hashCode());
        final Object $path = this.getPath();
        result = result * 59 + (($path == null) ? 43 : $path.hashCode());
        final Object $size = this.getSize();
        result = result * 59 + (($size == null) ? 43 : $size.hashCode());
        final Object $createTime = this.getCreateTime();
        result = result * 59 + (($createTime == null) ? 43 : $createTime.hashCode());
        return result;
    }
    
    @Override
    public String toString() {
        return "UserAvatarDto(id=" + this.getId() + ", realName=" + this.getRealName() + ", path=" + this.getPath() + ", size=" + this.getSize() + ", createTime=" + this.getCreateTime() + ")";
    }
}
